home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 September / Chip_2001-09_cd1.bin / sharewar / webscrip / webscripter4s.exe / {app} / Includes / jsBrowser.ob < prev    next >
Encoding:
Text File  |  2001-07-11  |  973 b   |  29 lines

  1. //begin_lib <!-- Begin External JavaScript -- DO NOT REMOVE THIS LINE -->
  2.  
  3. function jsBrowser(){
  4. this.Name = navigator.appName;
  5. this.Version = navigator.appVersion;
  6. this.MinVersion = navigator.appMinorVersion;
  7. this.Agent = navigator.userAgent;
  8. this.Code = navigator.appCodeName;
  9. this.Cookies = navigator.cookieEnabled;
  10. this.CPU = navigator.cpuClass;
  11. this.Language = navigator.language;
  12. this.BrowserLang = navigator.browserLanguage;
  13. this.UserLang = navigator.userLanguage;
  14. this.SystemLang = navigator.systemLanguage;
  15. this.System = navigator.platform;
  16. this.Online = navigator.onLine;
  17. this.Java = navigator.javaEnabled();
  18. this.Taint = navigator.taintEnabled();
  19. this.SupportsAll = document.all ? true : false;
  20. this.SupportsLayers = document.layers ? true : false;
  21. this.AtLeast = br_AtLeast;
  22. }
  23.  
  24. function br_AtLeast(version){
  25. return (parseInt(navigator.appVersion) >= version);
  26. }
  27.  
  28. //end_lib <!-- End External JavaScript -- DO NOT REMOVE THIS LINE -->
  29.